package com.yuxi.modelDesc;

import lombok.Data;
import com.yuxi.model.GroupRights;


import com.yuxi.enums.GroupRightsShowFlagEnum;
import com.yuxi.enums.GroupRightsDelFlagEnum;

/**
*    @author sunke
*    @Date 2023-10-13 10:28:18
*    @description GroupRightsDesc      权限组权限关联
*/
@Data
public class GroupRightsDesc extends GroupRights {


    private String showFlagDesc;
    private String delFlagDesc;

    public String getShowFlagDesc() {
        showFlagDesc=GroupRightsShowFlagEnum.getDescByType(getShowFlag());
        return showFlagDesc;
    }
    public String getDelFlagDesc() {
        delFlagDesc=GroupRightsDelFlagEnum.getDescByType(getDelFlag());
        return delFlagDesc;
    }
}

